package com.qc.common;

public enum FailCodeHandle {

	//FATAL: 3001 - 3999
	//ERROR: 2001 - 2999
	//WARNING: 1001 - 1999 
	
	//Fatal: 3001 - 3999
	DATABASE_UNAVAILABLE(3001),
	

	//Error: 2001 - 2999
	GENERAL_DB_ERROR(2000),
	
	
	//Warning: 1001 - 1999
	USER_NOT_FOUND(1009);
	
	private int errorCode;
	
	public int getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}
	
	private FailCodeHandle(int errorCode){
		this.errorCode = errorCode;
	}
		
}
